from langchain_openai import AzureOpenAI
from langchain_core.messages import HumanMessage, SystemMessage
# from dotenv import load_dotenv

import os
# load_dotenv()

os.environ["AZURE_OPENAI_ENDPOINT"] = "https://chatgpt-test-0001.openai.azure.com/"
os.environ["AZURE_OPENAI_API_KEY"] = "90643b9c4bee421bba17d72b748ad446"


llm = AzureOpenAI(
    model_name='gpt-35-turbo-instruct',
    azure_deployment='gpt-35-turbo-instruct',
    api_version="2023-03-15-preview"
    # other params...
)
print(llm.invoke("who are you?"))